{% extends 'index.html' %}
{% block content %}
    <form action="" method="post" enctype="multipart/form-data">
        {% for i in users %}
            姓名: <input type="text" name="username" value="{{ i.username }}"><br>
            密码：<input type="text" name="password" value="{{ i.password }}"><br>
            类别：<input type="text" name="type" value="{{ i.type }}"><br>
        {% endfor %}

        <button type="submit">修改</button>
    </form>
{% endblock %}